﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<dbPoll_Application.Models.AccountManagerModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Account Manager
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<script src="../../Scripts/swfupload.js" type="text/javascript"></script>
<script src="../../Scripts/jquery-asyncUpload-0.1.js" type="text/javascript"></script>
<script src="../../Scripts/Account-AccountManager.js" type="text/javascript"></script>

    <div class="pageHeadingContainer"><h2 class="pageHeading"><%= Model.IsNew ? "Create a " : "Manage " %><%= Model.SelectedRole %></h2></div>
    
    <div id="pageMenuContainer">
        <% Html.RenderPartial("AccountManagerMenu", Model); %>
    </div>
  
    <div id="contentContainer">
    <p><%= Html.ActionLink("Manage Accounts > ", "ManageAccounts", "Account", null, new { @class = "breadcrumb" })%><%= Model.IsNew == true ? "New" : Model.UserName %></p>
    <% using (Html.BeginForm("AccountManager", "Account", FormMethod.Post, new { @id = "accountManagerForm" }))
       { %>
    <div id="accountManagerContainer">
    <% Html.RenderPartial("AccountManagerContainer", Model); %>
    <% } %>
    </div>
    </div>
</asp:Content>
